package de.metalcon.gwt.server.db;

import org.neo4j.graphdb.GraphDatabaseService;

public abstract class ANeoObject {
	protected final GraphDatabaseService db;

	public ANeoObject(GraphDatabaseService db) {
		this.db = db;
	}
	
	public GraphDatabaseService getGraphDatabase() {
		return db;
	}
	
	public abstract void commit();
}
